<?php

class User extends AppModel {

    public $validate = array(
        'usuario' => array(
            'required' => array(
                'rule' => array('notEmpty'),
                'message' => 'Requerido'
            )
        ),
        'contrasena' => array(
            'required' => array(
                'rule' => array('notEmpty'),
                'message' => 'Requerido'
            )
        )
    );

}
